package com.SNQ.project.English_speaking_learning_system.service.impl;

import com.SNQ.project.English_speaking_learning_system.mapper.ReadingRecordMapper;
import com.SNQ.project.English_speaking_learning_system.pojo.entity.ReadingRecord;
import com.SNQ.project.English_speaking_learning_system.service.ReadingRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReadingRecordServiceImpl implements ReadingRecordService {

    @Autowired
    private ReadingRecordMapper readingRecordMapper;

    public void save(ReadingRecord readingRecord){
        readingRecordMapper.insert(readingRecord);
    }

}
